﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StudentManagerSystem
{
    //单例模式
    public class StudentsSystem : Singleton<StudentsSystem>
    {
        public StudentsSystem()
        {
            InputManager = new InputManager(this);
        }

        public InputManager InputManager;

        public void Start()
        {
            //画一个登录界面
            InputManager.LoginPanel();
            //InputManager.MainPanel();
        }

        public bool CheckAccountPassword(string account, string password)
        {
            if (account == "111111" && password == "bb")
            {
                return true;
            }
            return false;
        }
    }
}
